package com.yang.springcloud.dao;

import com.yang.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author yds
 * @program springcloud
 * @description 部门表mapper
 * @create 2020-09-17 14:46
 **/
@Mapper
@Repository
public interface DeptDao {

    public boolean addDept(Dept dept);

    public Dept queryById(Long id);

    public List<Dept> queryAll();
}
